<script lang="ts" setup>
  import { DownOutlined } from '@ant-design/icons-vue';
  import Menu from '@sscd/menu';
  import Dropdown from '@sscd/dropdown';
</script>

<template>
  <div class="demo">
    <div class="demo-title">基本</div>
    <div class="demo-content">
      <Dropdown>
        <a class="ant-dropdown-link" @click.prevent>
          Hover me
          <DownOutlined />
        </a>
        <template #overlay>
          <Menu>
            <Menu.Item>
              <a href="javascript:;">1st menu item</a>
            </Menu.Item>
            <Menu.Item>
              <a href="javascript:;">2nd menu item</a>
            </Menu.Item>
            <Menu.Item>
              <a href="javascript:;">3rd menu item</a>
            </Menu.Item>
          </Menu>
        </template>
      </Dropdown>
    </div>
  </div>
</template>
